<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
<style>
    body{
        margin: 0;
    }
    div{
        width: 100px;
        height: 100px;
        background-color: salmon;
        margin: 10px;
        /* float: left; */
        /* float: right; */
    }
    #one{
        background-color: sandybrown;
        /* 浮动 */
        float: left;
    }
    #two{
        
        background-color: seagreen;
        /* 浮动 */
        float: left;

        /* 清除浮动产生的影响 */
        /* clear: both; */
    }
    #three{
        clear: both;
    }
</style>

</head>
<body>
    <div id="one"></div>
    <div id="two"></div>
    <div id="three"></div>
    <div></div>
    

</body>
</html>